import { RouteConfig } from "vue-router";
import Layout from "@/layout/index.vue";

const overview: RouteConfig = {
  path: "/overview",
  component: Layout,
  redirect: "/overview/index",
  name: "Overview",
  meta: {
    title: "overview",
    icon: "iconfont icon-userstoryicon",
    routerRuleName: "Overview"
  },
  children: [
    {
      path: "index",
      component: () => import("@/views/overview/index.vue"),
      name: "Overview",
      meta: {
        title: "overview",
        noCache: true,
        routerRuleName: "Overview"
      }
    }
  ]
};

export default overview;